//
//  UITableView+OSHelp.h
//  UniversalApp
//
//  Created by 凯朱 on 2019/6/16.
//  Copyright © 2019 徐阳. All rights reserved.
//

#import <UIKit/UIKit.h>


NS_ASSUME_NONNULL_BEGIN

@interface UITableView (OSHelp)
/**
 添加下拉刷新
 
 @param refreshingBlock 下拉刷新回调
 */
-(void)addHeadRefreshWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;


/**
 停止下拉刷新
 */
-(void)stopHeadRefresh;

/**
 停止下拉加载更多
 */
-(void)stopFooterRefresh;

/**
 添加上拉加载更多
 
 @param refreshingBlock 下拉刷新回调
 */
-(void)addFooterRefreshWithRefreshingBlock:(MJRefreshComponentRefreshingBlock)refreshingBlock;

/**
 停止刷新
 */
-(void)endRefresh;
@end

NS_ASSUME_NONNULL_END
